package indi.entity;

import java.io.Serializable;
import java.sql.Time;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

import indi.service.*;

//借书记录
public class RecordOfBorrow{
	//数据库自动生成ID
	private String ID;
	//归还标识
	private int isReturn;
	//借出时间
	private Date borrowTime;
	//应还时间
	private Date dueTime;
	//关联借阅证
	private String cardID;
	//当前关联书本
	private String ISBN;
	//归还时间
	private Date returnTime;

	public RecordOfBorrow(String ID, int isReturn, Date borrowTime, Date dueTime, String cardID, String ISBN, Date returnTime) {
		this.ID = ID;
		this.isReturn = isReturn;
		this.borrowTime = borrowTime;
		this.dueTime = dueTime;
		this.cardID = cardID;
		this.ISBN = ISBN;
		this.returnTime = returnTime;
	}

	public String getID() {
		return ID;
	}
}
